package com.sansan.qiangji.mapper.device;

import com.sansan.qiangji.entity.device.Stacker;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StackerMapper {
    List<Stacker> findAllStacker();
    int updateStacker(Stacker stacker);
    int updateStackers(@Param("stackers")List<Stacker> stackers);
    int addStacker(Stacker stacker);
    List<Stacker> findByStackerName(@Param("stackerName")String stackerName);
    Stacker findByStackerId(@Param("stackerId")Integer stackerId);
    int deleteById(@Param("stackerId")Integer stackerId);
}
